﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class BTop : INTPage
{
    public string language = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            CommonMethod.IsTimeOutUserCode(this);
            language = Session["Language"].ToString();
            if ("zh-cn".Equals(language))
            {
                Label1.Text = "欢迎您:" + Session["LoginName"].ToString();
            }
            else
            {
                Label1.Text = "Welcome:" + Session["LoginName"].ToString();
            }
        }
    }
    public string readLanguage()
    {
        CommonMethod.IsTimeOutUserCode(this);
        return language;
    }
}
